public class dog extends java1{
    String xw;
    public void d(){
        System.out.println(getName()+getColor()+getSex()+getWeight()+xw);
    }
}
